
<?php include_once './template/header.php'; ?>
    <style>
        .title{
            text-align:center;
            font-size:18px;
            color:#666;
        }
        .form{
            margin:30px 0;
        }
        .form .input-group{
            margin:20px 0;
    }
    </style>
    <h3 class="title">登录博客</h3>
    <div class="form">
        <div class="input-group input-group-sm">
            <span class="input-group-addon">用户名</span>
            <input type="text" class="form-control" name="username" placeholder="请输入用户名">
        </div>
        <div class="input-group input-group-sm">
            <span class="input-group-addon">密 &nbsp; 码</span>
            <input type="password" class="form-control" name="pwd" placeholder="请输入密码">
        </div>        
    </div>
    <button type="button" class="btn btn-primary btn-sm btn-block" onclick="login()">登录</button>
    <?php include_once './template/footer.php' ?>